package com.ship.contract.service;


import com.ship.contract.bean.ConExcellentCases;
import com.ship.contract.bean.ConResourceMemorandum;
import com.ship.contract.bean.ConResourceMemorandumSelect;
import com.ship.contract.bean.vo.ConResourceMemorandumVo;
import com.ship.contract.bean.vo.PortNameVo;
import com.ship.contract.bean.vo.QueryTimeZoneSwitchingInfo;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

/**
 * @author tangshixuan
 * @date 2023-8-31
 */
public interface ConResourceMemorandumService extends ContractBaseService<ConResourceMemorandum>{
    void delApply(Long id);

    Map<String,Object> detail(Long id);

    void excellent(ConExcellentCases conExcellentCases, String currentUserName);

    void saveCon(ConResourceMemorandum conResourceMemorandum);

    void updateCon(ConResourceMemorandum conResourceMemorandum);

    //根据信息拼接合同名字
    String editContractName(ConResourceMemorandum conResourceMemorandum);

    //根据信息拼接合同编号
    String editContractNumbers(ConResourceMemorandum conResourceMemorandum);

    /**
     * 获取合同信息列表
     * @param dto
     * @return
     */
    List<ConResourceMemorandumVo> selectAllContractNumbers(ConResourceMemorandumSelect dto);
    /**
     * 获取宝船网港口名称
     *
     * @return
     */
    List<PortNameVo> getPortNames(String name);

    QueryTimeZoneSwitchingInfo queryTimezoneById(Long id, String type) throws ParseException;
}
